<style>
.fe-floatright-bottom a {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 100%;
    background-color: #ff9999;
    color: #fff;
    line-height: 0.7rem;
	font-size:0.45rem;
    margin: 0.5rem auto;
    margin-right: 0;
}
.fe-floatright-bottom a .icon {
    color: #fff;
    font-size: 0.6rem;
    height: 0.6rem;
	line-height: 1rem;
    opacity: 1;
}

</style>
<div class="fui-page order-create-page fui-page-current" >
	<div class="fui-content" style="background:none">
		<div class="fui-searchbar bar" style="z-index: 0;">
			<div ng-class="{'searchbar':1,'searchbar-active':pagedata.searchbar ==1}" style="background:#fff">
					<div style="position: relative;left:0;top:0;">
						<div class="search-input">
							<i id="searchsub" class="icon icon-search" ng-click="tool.get_list('jy_quan/merch/list/',true)"></i>
							<input type="search" placeholder="输入搜索" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.56rem;background:#f9f9f9" />
						</div>
					</div>
			</div>
		</div>
		<div class="weui_cells_title">最近访问店铺</div>
		<div ng-if="pagedata.listlog.length>0" class='fui-tab-scroll' style="z-index:0;height:4rem;padding:0.3rem">
			    <div class="fui-icon-col" ng-repeat="item in pagedata.listlog" ng-click="access_json('jy_merch/myshop//id='+item.merchid)">
					<div class="icon">
						<img class="img-circle"  src="{{item.logo || '../core/resource/images/nopic.jpg'}}" style="width:2.5rem;height:2.5rem">
					</div>
					<div class="text">{{item.title}}</div>
				</div>
		</div>
		<div class="weui_cells_title">附近其他商户</div>
		<div ng-if="pagedata.list.length>0" class="" style="height: 4rem">
			<div class="fui-icon-group col-5">
			    <div class="fui-icon-col" ng-repeat="item in pagedata.list" href="javascript:;" ng-click="access_json('jy_merch/merch//id='+item.id)">
					<div class="icon">
						<img class="img-circle"  src="{{item.logo || '../core/resource/images/nopic.jpg'}}" style="width:2.5rem;height:2.5rem">
					</div>
					<div class="text">{{item.merchname}}</div>
					<div class="badge" style="font-size:0.45rem;background:#f2f2f2;color:#999;top:0.2rem">{{item.juli}}km</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="fe-floatright-bottom right" style="bottom:60px;">
			<a href="javascript:;" style="background-color: #ff6666;" ng-click="toogle(pagedata,'show_shopset',[1,0])">
				<i ng-class="{'icon':1,'icon-less':pagedata.show_shopset !=1,'icon-moreunfold':pagedata.show_shopset ==1}" style="font-size:0.8rem;"></i>
				<div style="line-height:0.3rem">{{pagedata.show_shopset !=1?'我的':'关闭'}}</div>
			</a>
</div>
<div ng-if="pagedata.show_shopset" class="fe-floatright-bottom right" style="bottom:6.6rem;">
		<a href="javascript:" ng-click="access_json('jy_merch/merch/')">
				<i class="icon icon-shouye"></i>
				<div style="line-height:0.3rem">店铺</div>
		</a>
		<a href="javascript:" ng-click="access_json('jy_merch/manage.shop/')" class="nav-item">
			<i class="icon icon-set"></i>
			<div style="line-height:0.3rem">设置</div>
		</a>
		<a href="javascript:" ng-click="access_json('jy_merch/manage.index/')" class="nav-item">
			<i class="icon icon-wo1"></i>
			<div style="line-height:0.3rem">管理</div>
		</a>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
scope.pagedata.params.keyword = ''
  // 百度地图API功能
window.scope.location(function(re){
	scope.pagedata.params.lat=re.lat_lng.lat
	scope.pagedata.params.lng=re.lat_lng.lng
	scope.tool.get_list('jy_quan/merch/list/',true);
});
</script>